projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
027b02a
)
GtkRevealer: Remove useless _start_animation call
author
Timm Bäder
<mail@baedert.org>
Fri, 16 Oct 2015 12:11:28 +0000
(14:11 +0200)
committer
Timm Bäder
<mail@baedert.org>
Fri, 16 Oct 2015 13:07:49 +0000
(15:07 +0200)
The call just passed priv->target_pos, but _start_animation directly
returns if the given target is priv->target_pos (see line 627).
gtk/gtkrevealer.c
patch
|
blob
|
history
diff --git
a/gtk/gtkrevealer.c
b/gtk/gtkrevealer.c
index 424840aec3d54d5ddff66d3408396afa67876a50..9076b589975250e9301b8eb387ab47d32b77c07d 100644
(file)
--- a/
gtk/gtkrevealer.c
+++ b/
gtk/gtkrevealer.c
@@
-675,8
+675,6
@@
gtk_revealer_real_map (GtkWidget *widget)
if (allocation.width > 0 && allocation.height > 0)
gdk_window_show (priv->view_window);
-
- gtk_revealer_start_animation (revealer, priv->target_pos);
}
GTK_WIDGET_CLASS (gtk_revealer_parent_class)->map (widget);